﻿using System;

class UK_Flag
{
    static void Main()
    {
        int n = int.Parse(Console.ReadLine());

        for (int i = 0; i < n / 2; i++)
        {
            Console.Write(new string('.', i));
            Console.Write(new string('\\', 1));
            Console.Write(new string('.', (n / 2) - 1 - i));
            Console.Write(new string('|', 1));
            Console.Write(new string('.', (n / 2) - 1 - i));
            Console.Write(new string('/', 1));
            Console.WriteLine(new string('.', i));
        }

        Console.Write(new string('-', n / 2));
        Console.Write(new string('*', 1));
        Console.WriteLine(new string('-', n / 2));

        for (int i = 0; i < n / 2; i++)
        {
            Console.Write(new string('.', (n / 2) - 1 - i));
            Console.Write(new string('/', 1));
            Console.Write(new string('.', i));
            Console.Write(new string('|', 1));
            Console.Write(new string('.', i));
            Console.Write(new string('\\', 1));
            Console.WriteLine(new string('.', (n / 2) - 1 - i));
        }
    }
}
